/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package asa;

/**
 *
 * @author Mickael
 */
public class ASAExprMoinsUn extends ASAExpr {

    private ASAExpr e;

    public ASAExprMoinsUn(ASAExpr e) {
        this.e = e;
    }

    @Override
    public ASAExpr getExpr1() {
        return e;
    }
    @Override
    public String getLabelExplorateur() {
        return "MOINS_UN";
    }

    @Override
    public int evalue() {
        return -e.evalue();
    }
}
